package com.ymh.spring;
import static java.lang.Math.PI;


public class StaticMathUtils {

	// 计算圆面积
	public static double calCircleArea(double r) {
		return PI * r * r;
	}

	// 计算球面积
	public static double calBallArea(double r) {
		return 4 * PI * r * r;
	}
}
